func runtime.getg

304 uses

	runtime (current package)
		arena.go#L477: 	if mp.gsignal == getg() {
		arena.go#L755: 	if mp.gsignal == getg() {
		arena.go#L817: 		if inittrace.active && inittrace.id == getg().goid {
		atomic_pointer.go#L34: 	buf := getg().m.p.ptr().wbBuf.get2()
		cgo.go#L94: 	g := getg()
		cgo_sigaction.go#L47: 			g = getg()
		cgocall.go#L147: 	mp := getg().m
		cgocall.go#L200: 	getg().m.winsyscall = winsyscall
		cgocall.go#L302: 	gp := getg()
		cgocall.go#L383: 	gp := getg()
		cgocheck.go#L41: 	gp := getg()
		chan.go#L116: 	if getg().syncGroup != nil {
		chan.go#L193: 	if c.synctest && getg().syncGroup == nil {
		chan.go#L258: 	gp := getg()
		chan.go#L319: 	if c.synctest && sg.g.syncGroup != getg().syncGroup {
		chan.go#L537: 	if c.synctest && getg().syncGroup == nil {
		chan.go#L634: 	gp := getg()
		chan.go#L700: 	if c.synctest && sg.g.syncGroup != getg().syncGroup {
		checkptr.go#L91: 	if gp := getg(); gp.stack.lo <= uintptr(p) && uintptr(p) < gp.stack.hi {
		coro.go#L46: 	gp := getg()
		coro.go#L70: 	gp := getg()
		coro.go#L81: 	gp := getg()
		coro.go#L92: 	gp := getg()
		debug.go#L99: 	gp := getg()
		debug.go#L118: 	gp := getg()
		debugcall.go#L35: 	if getg() != getg().m.curg {
		debugcall.go#L38: 	if sp := sys.GetCallerSP(); !(getg().stack.lo < sp && sp <= getg().stack.hi) {
		debugcall.go#L111: 	gp := getg()
		debugcall.go#L212: 	gp := getg()
		debugcall.go#L221: 	getg().schedlink.set(callingG)
		debuglog.go#L131: 	gp := getg()
		heapdump.go#L697: 	gp := getg()
		iface.go#L137: 	if getg().m.mallocing != 0 {
		lock_futex.go#L36: 	gp := getg()
		lock_futex.go#L61: 	gp := getg()
		lock_futex.go#L107: 	gp := getg()
		lock_futex.go#L118: 	gp := getg()
		lock_futex.go#L140: 	mp := getg().m
		lock_spinbit.go#L154: 	gp := getg()
		lock_spinbit.go#L260: 	gp := getg()
		lockrank_off.go#L42: 	releasem(getg().m)
		malloc.go#L1086: 		if assistG := getg().m.curg; assistG != nil {
		malloc.go#L1105: 		if mp.gsignal == getg() {
		malloc.go#L1261: 		if mp.gsignal == getg() {
		malloc.go#L1347: 		if mp.gsignal == getg() {
		malloc.go#L1438: 		if mp.gsignal == getg() {
		malloc.go#L1531: 		if mp.gsignal == getg() {
		malloc.go#L1637: 	if inittrace.active && inittrace.id == getg().goid {
		malloc.go#L1645: 	if inittrace.active && inittrace.id == getg().goid {
		malloc.go#L1667: 	assistG := getg()
		malloc.go#L1697: 		if getg().preempt {
		malloc.go#L1823: 		if gp := getg(); gp == gp.m.gsignal {
		mbitmap.go#L450: 	buf := &getg().m.p.ptr().wbBuf
		mbitmap.go#L510: 	buf := &getg().m.p.ptr().wbBuf
		mbitmap.go#L1243: 	getg().m.traceback = 2
		mbitmap.go#L1331: 	buf := &getg().m.p.ptr().wbBuf
		mbitmap.go#L1384: 	buf := &getg().m.p.ptr().wbBuf
		mbitmap.go#L1856: 	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
		mcheckmark.go#L85: 		getg().m.traceback = 2
		mfinal.go#L186: 	gp := getg()
		mgc.go#L308: 	p := getg().m.p.ptr()
		mgc.go#L558: 		work.sweepWaiters.list.push(getg())
		mgc.go#L635: 	if gp := getg(); gp == mp.g0 || mp.locks > 1 || mp.preemptoff != "" {
		mgc.go#L642: 	if gp := getg(); gp.syncGroup != nil {
		mgc.go#L934: 	getg().m.preemptoff = "gcing"
		mgc.go#L968: 		getg().m.preemptoff = ""
		mgc.go#L1061: 			gcw := &getg().m.p.ptr().gcw
		mgc.go#L1063: 			wbBufFlush1(getg().m.p.ptr())
		mgc.go#L1389: 	gp := getg()
		mgc.go#L1899: 	gp := getg()
		mgc.go#L1968: 	gp := getg()
		mgcmark.go#L219: 			userG := getg().m.curg
		mgcmark.go#L424: 	if getg() == gp.m.g0 {
		mgcmark.go#L427: 	if mp := getg().m; mp.locks > 0 || mp.preemptoff != "" {
		mgcmark.go#L431: 	if gp := getg(); gp.syncGroup != nil {
		mgcmark.go#L669: 	gcw := &getg().m.p.ptr().gcw
		mgcmark.go#L737: 	gp := getg()
		mgcmark.go#L855: 	if gp == getg() {
		mgcmark.go#L872: 	p := getg().m.p.ptr()
		mgcmark.go#L1156: 	gp := getg().m.curg
		mgcmark.go#L1286: 	gp := getg().m.curg
		mgcmark.go#L1573: 		gcw := &getg().m.p.ptr().gcw
		mgcmark.go#L1602: 			getg().m.traceback = 2
		mgcmark.go#L1710: 	gcw := &getg().m.p.ptr().gcw
		mgcpacer.go#L709: 	gp := getg()
		mgcscavenge.go#L361: 	s.g = getg()
		mgcscavenge.go#L421: 	if getg() != s.g {
		mgcscavenge.go#L467: 	if getg() != s.g {
		mgcscavenge.go#L578: 	if getg() != s.g {
		mgcsweep.go#L270: 	sweep.g = getg()
		mgcsweep.go#L352: 	gp := getg()
		mgcsweep.go#L461: 	gp := getg()
		mgcsweep.go#L500: 	gp := getg()
		mgcsweep.go#L676: 		getg().m.p.ptr().trace.reclaimed += uintptr(nfreed) * s.elemsize
		mgcwork.go#L476: 		gp := getg().m.curg
		mheap.go#L1091: 	pp := getg().m.p.ptr()
		mheap.go#L1116: 	pp := getg().m.p.ptr()
		mheap.go#L1148: 	pp := getg().m.p.ptr()
		mheap.go#L1179: 	gp := getg()
		mheap.go#L1687: 	gp := getg()
		mheap.go#L2176: 		work.strongFromWeak.q.pushBack(getg())
		mprof.go#L543: 	gp := getg()
		mprof.go#L702: 	gp := getg()
		mprof.go#L776: 	if gp := getg(); gp.m.locks == 1 && gp.m.mLockProfile.haveStack {
		mprof.go#L812: 	gp := getg()
		mprof.go#L1380: 	ourg := getg()
		mprof.go#L1489: 	if getg().m.p.ptr() == nil {
		mprof.go#L1584: 	gp := getg()
		mprof.go#L1710: 		gp := getg()
		mprof.go#L1714: 			g0 := getg()
		mstats.go#L777: 	if pp := getg().m.p.ptr(); pp != nil {
		mstats.go#L806: 	if pp := getg().m.p.ptr(); pp != nil {
		mwbbuf.go#L170: 	if getg().m.dying > 0 {
		mwbbuf.go#L174: 		getg().m.p.ptr().wbBuf.discard()
		mwbbuf.go#L181: 		wbBufFlush1(getg().m.p.ptr())
		os_linux.go#L404: 	getg().m.procid = uint64(gettid())
		os_linux.go#L412: 	getg().m.procid = 0
		os_linux.go#L627: 	mp := getg().m
		os_linux.go#L780: 		releasem(getg().m)
		os_linux.go#L842: 	gp := getg()
		os_linux.go#L865: 	releasem(getg().m)
		os_linux.go#L879: 	gp := getg()
		panic.go#L63: 	gp := getg()
		panic.go#L77: 	gp := getg()
		panic.go#L273: 	gp := getg()
		panic.go#L388: 	gp := getg()
		panic.go#L482: 	gp := getg()
		panic.go#L751: 	gp := getg()
		panic.go#L819: 	gp := getg()
		panic.go#L864: 	gp := getg()
		panic.go#L941: 	gp := getg()
		panic.go#L1022: 	gp := getg()
		panic.go#L1268: 	gp := getg()
		panic.go#L1304: 	gp := getg()
		panic.go#L1351: 	gp := getg()
		panic.go#L1453: 	gp := getg()
		preempt.go#L106: 	if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
		preempt.go#L303: 	gp := getg()
		print.go#L66: 	mp := getg().m
		print.go#L76: 	mp := getg().m
		print.go#L90: 	gp := getg()
		proc.go#L148: 	mp := getg().m
		proc.go#L197: 		inittrace.id = getg().goid
		proc.go#L326: 	exithook.Goid = func() uint64 { return getg().goid }
		proc.go#L340: 	forcegc.g = getg()
		proc.go#L381: 	gp := getg()
		proc.go#L518: 	gp := getg()
		proc.go#L569: 	g := getg()
		proc.go#L606: 	me := getg()
		proc.go#L631: 	gp := getg()
		proc.go#L822: 	gp := getg()
		proc.go#L901: 	thisg := getg()
		proc.go#L943: 	gp := getg()
		proc.go#L1446: 	gp := getg()
		proc.go#L1560: 	casGToWaitingForSuspendG(getg().m.curg, _Grunning, waitReasonStoppingTheWorld)
		proc.go#L1567: 	gp := getg()
		proc.go#L1670: 	casgstatus(getg().m.curg, _Gwaiting, _Grunning)
		proc.go#L1793: 	gp := getg()
		proc.go#L1835: 	gp := getg()
		proc.go#L1896: 	gp := getg()
		proc.go#L1912: 	mp := getg().m
		proc.go#L2035: 		gp := getg().m.curg
		proc.go#L2069: 	pp := getg().m.p.ptr()
		proc.go#L2167: 	p := getg().m.p.ptr()
		proc.go#L2211: 	gp := getg()
		proc.go#L2508: 	mp := getg().m
		proc.go#L2615: 	g := getg()
		proc.go#L2636: 	return uintptr(unsafe.Pointer(getg().m))
		proc.go#L2793: 	if gp := getg(); gp != nil && gp.m != nil && (gp.m.lockedExt != 0 || gp.m.incgo) && GOOS != "plan9" {
		proc.go#L2819: 		releasem(getg().m)
		proc.go#L2823: 	releasem(getg().m)
		proc.go#L2913: 	gp := getg()
		proc.go#L2935: 	getg().m.spinning = true
		proc.go#L3171: 	gp := getg()
		proc.go#L3200: 	if mp == getg().m {
		proc.go#L3217: 	gp := getg()
		proc.go#L3252: 	mp := getg().m
		proc.go#L3293: 	mp := getg().m
		proc.go#L3677: 	p := getg().m.p.ptr()
		proc.go#L3698: 	pp := getg().m.p.ptr()
		proc.go#L3891: 	gp := getg()
		proc.go#L3961: 	pp := getg().m.p.ptr()
		proc.go#L4010: 	mp := getg().m
		proc.go#L4099: 	gp := getg()
		proc.go#L4112: 	mp := getg().m
		proc.go#L4315: 		if gp := getg(); gp.syncGroup != nil {
		proc.go#L4335: 	mp := getg().m
		proc.go#L4409: 	gp := getg()
		proc.go#L4459: 	gp := getg()
		proc.go#L4565: 	gp := getg()
		proc.go#L4608: 	gp := getg()
		proc.go#L4685: 	gp := getg()
		proc.go#L4810: 	gp := getg()
		proc.go#L4912: 	gp := getg().m.curg
		proc.go#L4941: 	gp := getg().m.curg
		proc.go#L4985: 	msigrestore(getg().m.sigmask)
		proc.go#L5039: 	gp := getg()
		proc.go#L5044: 		pp := getg().m.p.ptr()
		proc.go#L5337: 	gp := getg()
		proc.go#L5365: 	gp := getg()
		proc.go#L5376: 	getg().m.lockedInt++
		proc.go#L5389: 	gp := getg()
		proc.go#L5412: 	gp := getg()
		proc.go#L5422: 	gp := getg()
		proc.go#L5512: 	getg().m.mallocing++
		proc.go#L5587: 	getg().m.mallocing--
		proc.go#L5600: 	gp := getg()
		proc.go#L5688: 	getg().m.p.ptr().timers.take(&pp.timers)
		proc.go#L5724: 			mp := getg().m
		proc.go#L5812: 	gp := getg()
		proc.go#L5921: 	gp := getg()
		proc.go#L5951: 		trace.ProcStop(getg().m.p.ptr())
		proc.go#L5959: 	gp := getg()
		proc.go#L6373: 	if mp == nil || mp == getg().m {
		proc.go#L7154: 	gp := getg()
		proc.go#L7174: 	gp := getg()
		proc.go#L7215: 	if p := getg().m.p.ptr(); !runqempty(p) {
		proflabel.go#L42: 	getg().labels = labels
		proflabel.go#L55: 	return getg().labels
		rand.go#L165: 	mp := getg().m
		rand.go#L228: 	mp := getg().m
		rdebug.go#L18: 	gp := getg()
		runtime.go#L235: 	gp := getg()
		runtime1.go#L38: 	gp := getg()
		runtime1.go#L606: 	gp := getg()
		runtime1.go#L613: 	gp := getg()
		runtime1.go#L732: 	return getg().fipsIndicator
		runtime1.go#L737: 	getg().fipsIndicator = indicator
		rwmutex.go#L89: 				m := getg().m
		rwmutex.go#L124: 	m := getg().m
		select.go#L123: 	gp := getg()
		select.go#L180: 			if getg().syncGroup == nil {
		sema.go#L143: 	gp := getg()
		sema.go#L260: 		if s.ticket == 1 && getg().m.locks == 0 {
		sema.go#L296: 	s.g = getg()
		sema.go#L583: 	s.g = getg()
		sema.go#L632: 		if s.g.syncGroup != nil && getg().syncGroup != s.g.syncGroup {
		sema.go#L689: 			if s.g.syncGroup != nil && getg().syncGroup != s.g.syncGroup {
		signal_unix.go#L330: 	getg().m.profilehz = hz
		signal_unix.go#L417: 	return getg()
		signal_unix.go#L643: 	gsignal := getg()
		signal_unix.go#L907: 	gp := getg()
		signal_unix.go#L1328: 	mp := getg().m
		signal_unix.go#L1349: 	nmask := getg().m.sigmask
		signal_unix.go#L1363: 	if getg().m.newSigstack {
		signal_unix.go#L1373: 		restoreGsignalStack(&getg().m.goSigStack)
		signal_unix.go#L1418: 	gp := getg()
		signal_unix.go#L1438: 	gp := getg().m.gsignal
		signal_unix.go#L1461: 	gp := getg()
		stack.go#L340: 	thisg := getg()
		stack.go#L447: 	gp := getg()
		stack.go#L638: 				getg().m.traceback = 2
		stack.go#L871: 	gcController.addScannableStack(getg().m.p.ptr(), int64(newsize)-int64(old.hi-old.lo))
		stack.go#L967: 	thisg := getg()
		stack.go#L1191: 		if !(gp == getg().m.curg && getg() != getg().m.curg && s == _Grunning) {
		stack.go#L1202: 	if gp == getg().m.curg && gp.m.libcallsp != 0 {
		string.go#L166: 	stk := getg().stack
		stubs.go#L31: func getg() *g
		synctest.go#L159: 	gp := getg()
		synctest.go#L233: 	gp := getg()
		synctest.go#L278: 	if sg := getg().syncGroup; sg != nil {
		synctest.go#L292: 	gp := getg()
		time.go#L18: 	if sg := getg().syncGroup; sg != nil {
		time.go#L28: 	gp := getg()
		time.go#L310: 	gp := getg()
		time.go#L379: 	if gr := getg().syncGroup; gr != nil {
		time.go#L392: 	if t.isFake && getg().syncGroup == nil {
		time.go#L407: 	if t.isFake && getg().syncGroup == nil {
		time.go#L673: 		sg := getg().syncGroup
		time.go#L716: 	gp := getg()
		time.go#L973: 	force := ts == &getg().m.p.ptr().timers && int(zombies) > int(ts.len.Load())/4
		time.go#L999: 		force = ts == &getg().m.p.ptr().timers && int(ts.zombies.Load()) > int(ts.len.Load())/4
		time.go#L1072: 		tsLocal := &getg().m.p.ptr().timers
		time.go#L1120: 		gp := getg()
		time.go#L1133: 		gp := getg()
		time.go#L1183: 		gp := getg()
		time.go#L1193: 		gp := getg()
		time.go#L1380: 		sg := getg().syncGroup
		trace.go#L375: 			me := getg().m.curg
		trace.go#L791: 		if getg().racectx != 0 {
		trace.go#L794: 		getg().racectx = getg().m.curg.racectx
		trace.go#L797: 		defer func() { getg().racectx = 0 }()
		traceback.go#L134: 	if ourg := getg(); ourg == gp && ourg == ourg.m.curg {
		traceback.go#L1095: 	gp := getg()
		traceback.go#L1114: 	mp := getg().m
		traceback.go#L1251: 	curgp := getg().m.curg
		traceback.go#L1275: 		if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {
		traceback.go#L1631: 	if panicking.Load() > 0 || getg().m.curg != getg() {
		traceback.go#L1651: 	if panicking.Load() > 0 || getg().m.curg != getg() {
		tracebuf.go#L45: 		gp := getg()
		tracebuf.go#L113: 		gp := getg()
		traceruntime.go#L431: 	gp := getg().m.curg
		tracestack.go#L44: 		mp = getg().m
		tracestack.go#L59: 				if getg() == gp || mp.curg == gp {
		tracestack.go#L84: 		if getg() == gp {
		tracestack.go#L92: 		if getg() == gp {
		vgetrandom_linux.go#L107: 	mp := getg().m